# Dockerfile
FROM 192.168.18.1:5000/apache-tomcat:8.5.47

LABEL maintainer="lixl@sysware.com.cn"

RUN rm -f $TOMCAT_HOME/conf/server.xml
COPY server.xml $TOMCAT_HOME/conf/server.xml

RUN mkdir /app
COPY target/sf /app

EXPOSE 8080/tcp

ENTRYPOINT $TOMCAT_HOME/bin/startup.sh && tail -f $TOMCAT_HOME/logs/catalina.out